Name | server resources reloaded |
Event Lines | server resources reloaded |
Triggers | when vanilla resources (such as datapacks) are reloaded (by vanilla commands or by plugins). If you mess with datapacks often, it may be helpful to run reload in this event. |
Generated Examples | after server resources reloaded: |
Switches | cause:<cause> to only process the event if the cause of the resource reload matches the specified cause. |
Contexts | <context.cause> Returns the cause of the resource reload. Refer to https://jd.papermc.io/paper/1.19/io/papermc/paper/event/server/ServerResourcesReloadedEvent.Cause.html
|
Group | Paper |
Requires | Paper |
Source | https://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/events/ServerResourcesReloadedScriptEvent.java#L12 |